// samsting : this file is auto create.

#include "Slb/2014-05-15/DescribeRegions4LocationResponse.h"

namespace aliyun { namespace Slb {

DescribeRegions4LocationResponse::DescribeRegions4LocationResponse() {
}

const string& DescribeRegions4LocationResponse::Region::GetRegionId(void) const {
  return RegionId_;
}

const string& DescribeRegions4LocationResponse::Region::GetLocalName(void) const {
  return LocalName_;
}

const std::vector<DescribeRegions4LocationResponse::Region>& DescribeRegions4LocationResponse::GetRegions(void) const {
  return Regions_;
}

const char* DescribeRegions4LocationResponse::BaseKey(void) {
  return "DescribeRegions4LocationResponse";
}

void DescribeRegions4LocationResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Regions__length = 0;
  UnmarshallerInt(Regions__length, response_map, "DescribeRegions4LocationResponse.Regions.Length");
  if(Regions__length >= 0) {
    Regions_.resize(Regions__length);
    for(int i1 = 0; i1 < Regions__length; i1++) {
      UnmarshallerString(Regions_[i1].RegionId_, response_map, "DescribeRegions4LocationResponse.Regions["+string_ValueOfInt(i1)+"].RegionId");
      UnmarshallerString(Regions_[i1].LocalName_, response_map, "DescribeRegions4LocationResponse.Regions["+string_ValueOfInt(i1)+"].LocalName");
    } // for(int i1 = 0; i1 < Regions__length; i1++) {
  } // if(Regions__length >= 0) {

}


} } // namespace aliyun { namespace Slb {

// end of file 
